Menu Resource

The MENU statement defines the contents of a menu resource. A menu resource is a collection of information that defines the appearance and function of an application menu. A menu is a special input tool that lets a user select commands and open submenus from a list of menu items.

Syntax

menuID MENU [load-mem]
   [optional-statements]
   BEGIN
      item-definitions
      . . .
   END

Parameters

menuID

A number that identifies the menu. This value is either a unique string or a unique 16-bit unsigned integer value in the range of 1 to 65,535.

load-mem

An attribute that specifies loading and memory attributes for the resource.

optional-statements

This parameter can be zero of more of the following statements:

Statement

Description

CHARACTERISTICS dword

User-defined information about a resource that can be used by tools that read and write resource files.

LANGUAGE language, sublanguage

Specifies the language for the resource.

VERSION dword

User-defined version number for the resource that can be used by tools that read and write resource files.